From: Eli Zaretskii Date: Thu, 19 Aug 2021 12:29:49 +0000 (+0300) Subject: Minor doc fixes in icomplete.el X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~18^2~1687 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=787fa7a8ab3ccf12c0e7e4efafd7506999071ea5;p=emacs.git Minor doc fixes in icomplete.el * lisp/icomplete.el (icomplete-section): Add :version. (icomplete--augment): Doc fix. --- diff --git a/lisp/icomplete.el b/lisp/icomplete.el index ee34d85514b..84073933894 100644 --- a/lisp/icomplete.el +++ b/lisp/icomplete.el @@ -112,7 +112,8 @@ Otherwise this should be a list of the completion tables (e.g., :version "28.1") (defface icomplete-section '((t :inherit shadow :slant italic)) - "Face used by `icomplete-vertical-mode' for the section title.") + "Face used by `icomplete-vertical-mode' for the section title." + :version "28.1") ;;;_* User Customization variables (defcustom icomplete-prospects-height 2 @@ -750,7 +751,7 @@ See `icomplete-mode' and `minibuffer-setup-hook'." (defun icomplete--augment (md prospects) "Augment completion strings in PROSPECTS with completion metadata MD. Return a list of strings (COMP PREFIX SUFFIX SECTION). PREFIX -and SUFFIX, if non-nil are obtained from `affixation-function' or +and SUFFIX, if non-nil, are obtained from `affixation-function' or `annotation-function' metadata. SECTION is obtained from `group-function'. Consecutive `equal' sections are avoided. COMP is the element in PROSPECTS or a transformation also given